const xmlStr = `<?xml version="1.0" encoding="UTF-8"?>
<bpmn2:definitions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:bpmn2="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:camunda="http://camunda.org/schema/1.0/bpmn" xmlns:bioc="http://bpmn.io/schema/bpmn/biocolor/1.0" id="sample-diagram" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="4.12.0" xsi:schemaLocation="http://www.omg.org/spec/BPMN/20100524/MODEL BPMN20.xsd">
  <bpmn2:process id="Process_1" name="购买商品申请金额流程" isExecutable="true">
    <bpmn2:startEvent id="StartEvent_1" camunda:formKey="jksqd">
      <bpmn2:outgoing>Flow_0452lh0</bpmn2:outgoing>
    </bpmn2:startEvent>
    <bpmn2:sequenceFlow id="Flow_0452lh0" sourceRef="StartEvent_1" targetRef="Activity_1f3rlhl" />
    <bpmn2:userTask id="Activity_1f3rlhl" name="1" camunda:formKey="jksqd" camunda:assignee="1">
      <bpmn2:incoming>Flow_0452lh0</bpmn2:incoming>
      <bpmn2:outgoing>Flow_18nk6x1</bpmn2:outgoing>
    </bpmn2:userTask>
    <bpmn2:parallelGateway id="Gateway_0ycpiab">
      <bpmn2:incoming>Flow_0lnabth</bpmn2:incoming>
      <bpmn2:outgoing>Flow_107a86x</bpmn2:outgoing>
      <bpmn2:outgoing>Flow_19a1smz</bpmn2:outgoing>
      <bpmn2:outgoing>Flow_0m2amgz</bpmn2:outgoing>
    </bpmn2:parallelGateway>
    <bpmn2:sequenceFlow id="Flow_107a86x" sourceRef="Gateway_0ycpiab" targetRef="Activity_1gh321l" />
    <bpmn2:userTask id="Activity_1gh321l" name="2" camunda:formKey="jksqd" camunda:assignee="2">
      <bpmn2:incoming>Flow_107a86x</bpmn2:incoming>
      <bpmn2:outgoing>Flow_00dwz22</bpmn2:outgoing>
    </bpmn2:userTask>
    <bpmn2:sequenceFlow id="Flow_19a1smz" sourceRef="Gateway_0ycpiab" targetRef="Activity_0aiaca9" />
    <bpmn2:userTask id="Activity_0aiaca9" name="3" camunda:formKey="jksqd" camunda:assignee="3">
      <bpmn2:incoming>Flow_19a1smz</bpmn2:incoming>
      <bpmn2:outgoing>Flow_08mifws</bpmn2:outgoing>
    </bpmn2:userTask>
    <bpmn2:sequenceFlow id="Flow_0m2amgz" sourceRef="Gateway_0ycpiab" targetRef="Activity_0q5e649" />
    <bpmn2:userTask id="Activity_0q5e649" name="4" camunda:formKey="jksqd" camunda:assignee="4">
      <bpmn2:incoming>Flow_0m2amgz</bpmn2:incoming>
      <bpmn2:outgoing>Flow_04k97bs</bpmn2:outgoing>
    </bpmn2:userTask>
    <bpmn2:sequenceFlow id="Flow_08mifws" sourceRef="Activity_0aiaca9" targetRef="Gateway_0t6oooo" />
    <bpmn2:parallelGateway id="Gateway_0t6oooo">
      <bpmn2:incoming>Flow_08mifws</bpmn2:incoming>
      <bpmn2:incoming>Flow_00dwz22</bpmn2:incoming>
      <bpmn2:incoming>Flow_04k97bs</bpmn2:incoming>
      <bpmn2:outgoing>Flow_06tvcwx</bpmn2:outgoing>
    </bpmn2:parallelGateway>
    <bpmn2:sequenceFlow id="Flow_00dwz22" sourceRef="Activity_1gh321l" targetRef="Gateway_0t6oooo" />
    <bpmn2:sequenceFlow id="Flow_04k97bs" sourceRef="Activity_0q5e649" targetRef="Gateway_0t6oooo" />
    <bpmn2:exclusiveGateway id="Gateway_1483a5n">
      <bpmn2:incoming>Flow_06tvcwx</bpmn2:incoming>
      <bpmn2:outgoing>Flow_0y1seqh</bpmn2:outgoing>
      <bpmn2:outgoing>Flow_0aa482o</bpmn2:outgoing>
    </bpmn2:exclusiveGateway>
    <bpmn2:sequenceFlow id="Flow_06tvcwx" sourceRef="Gateway_0t6oooo" targetRef="Gateway_1483a5n" />
    <bpmn2:sequenceFlow id="Flow_0y1seqh" sourceRef="Gateway_1483a5n" targetRef="Activity_0fnutdk">
      <bpmn2:conditionExpression xsi:type="bpmn2:tFormalExpression">{v.rate(0.3)}</bpmn2:conditionExpression>
    </bpmn2:sequenceFlow>
    <bpmn2:endEvent id="Event_0vc3olr">
      <bpmn2:incoming>Flow_1nqd9f1</bpmn2:incoming>
      <bpmn2:incoming>Flow_0aa482o</bpmn2:incoming>
    </bpmn2:endEvent>
    <bpmn2:sequenceFlow id="Flow_1nqd9f1" sourceRef="Activity_0fnutdk" targetRef="Event_0vc3olr" />
    <bpmn2:sequenceFlow id="Flow_0aa482o" sourceRef="Gateway_1483a5n" targetRef="Event_0vc3olr" />
    <bpmn2:userTask id="Activity_0fnutdk" name="5" camunda:formKey="jksqd" camunda:assignee="5">
      <bpmn2:incoming>Flow_0y1seqh</bpmn2:incoming>
      <bpmn2:outgoing>Flow_1nqd9f1</bpmn2:outgoing>
    </bpmn2:userTask>
    <bpmn2:sequenceFlow id="Flow_18nk6x1" sourceRef="Activity_1f3rlhl" targetRef="Activity_1qabvj3" />
    <bpmn2:subProcess id="Activity_1qabvj3">
      <bpmn2:incoming>Flow_18nk6x1</bpmn2:incoming>
      <bpmn2:outgoing>Flow_1qdvkz5</bpmn2:outgoing>
      <bpmn2:startEvent id="Event_0ojqo15">
        <bpmn2:outgoing>Flow_17czhxf</bpmn2:outgoing>
      </bpmn2:startEvent>
      <bpmn2:sequenceFlow id="Flow_17czhxf" sourceRef="Event_0ojqo15" targetRef="Activity_0gyatz8" />
      <bpmn2:userTask id="Activity_0gyatz8" name="5" camunda:formKey="jksqd" camunda:assignee="5">
        <bpmn2:incoming>Flow_17czhxf</bpmn2:incoming>
        <bpmn2:outgoing>Flow_1cizoel</bpmn2:outgoing>
      </bpmn2:userTask>
      <bpmn2:sequenceFlow id="Flow_1cizoel" sourceRef="Activity_0gyatz8" targetRef="Event_0mu33wu" />
      <bpmn2:endEvent id="Event_0mu33wu">
        <bpmn2:incoming>Flow_1cizoel</bpmn2:incoming>
      </bpmn2:endEvent>
    </bpmn2:subProcess>
    <bpmn2:exclusiveGateway id="Gateway_1ge7gh2">
      <bpmn2:incoming>Flow_1qdvkz5</bpmn2:incoming>
      <bpmn2:outgoing>Flow_0lnabth</bpmn2:outgoing>
      <bpmn2:outgoing>Flow_01w7vpo</bpmn2:outgoing>
    </bpmn2:exclusiveGateway>
    <bpmn2:sequenceFlow id="Flow_1qdvkz5" sourceRef="Activity_1qabvj3" targetRef="Gateway_1ge7gh2" />
    <bpmn2:sequenceFlow id="Flow_0lnabth" sourceRef="Gateway_1ge7gh2" targetRef="Gateway_0ycpiab">
      <bpmn2:conditionExpression xsi:type="bpmn2:tFormalExpression">\${Activity_1qabvj3 == 'approve'}</bpmn2:conditionExpression>
    </bpmn2:sequenceFlow>
    <bpmn2:endEvent id="Event_1vwqpnc">
      <bpmn2:incoming>Flow_01w7vpo</bpmn2:incoming>
    </bpmn2:endEvent>
    <bpmn2:sequenceFlow id="Flow_01w7vpo" sourceRef="Gateway_1ge7gh2" targetRef="Event_1vwqpnc" />
  </bpmn2:process>
  <bpmndi:BPMNDiagram id="BPMNDiagram_1">
    <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_1">
      <bpmndi:BPMNEdge id="Flow_01w7vpo_di" bpmnElement="Flow_01w7vpo">
        <di:waypoint x="940" y="395" />
        <di:waypoint x="940" y="532" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_0lnabth_di" bpmnElement="Flow_0lnabth">
        <di:waypoint x="965" y="370" />
        <di:waypoint x="1005" y="370" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_1qdvkz5_di" bpmnElement="Flow_1qdvkz5">
        <di:waypoint x="890" y="370" />
        <di:waypoint x="915" y="370" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_18nk6x1_di" bpmnElement="Flow_18nk6x1">
        <di:waypoint x="380" y="370" />
        <di:waypoint x="520" y="370" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_0aa482o_di" bpmnElement="Flow_0aa482o">
        <di:waypoint x="1425" y="370" />
        <di:waypoint x="1662" y="370" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_1nqd9f1_di" bpmnElement="Flow_1nqd9f1">
        <di:waypoint x="1680" y="290" />
        <di:waypoint x="1680" y="352" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_0y1seqh_di" bpmnElement="Flow_0y1seqh">
        <di:waypoint x="1400" y="345" />
        <di:waypoint x="1400" y="250" />
        <di:waypoint x="1630" y="250" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_06tvcwx_di" bpmnElement="Flow_06tvcwx">
        <di:waypoint x="1315" y="370" />
        <di:waypoint x="1375" y="370" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_04k97bs_di" bpmnElement="Flow_04k97bs">
        <di:waypoint x="1220" y="370" />
        <di:waypoint x="1265" y="370" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_00dwz22_di" bpmnElement="Flow_00dwz22">
        <di:waypoint x="1220" y="120" />
        <di:waypoint x="1290" y="120" />
        <di:waypoint x="1290" y="345" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_08mifws_di" bpmnElement="Flow_08mifws">
        <di:waypoint x="1220" y="230" />
        <di:waypoint x="1290" y="230" />
        <di:waypoint x="1290" y="345" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_0m2amgz_di" bpmnElement="Flow_0m2amgz">
        <di:waypoint x="1055" y="370" />
        <di:waypoint x="1120" y="370" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_19a1smz_di" bpmnElement="Flow_19a1smz">
        <di:waypoint x="1030" y="345" />
        <di:waypoint x="1030" y="230" />
        <di:waypoint x="1120" y="230" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_107a86x_di" bpmnElement="Flow_107a86x">
        <di:waypoint x="1030" y="345" />
        <di:waypoint x="1030" y="120" />
        <di:waypoint x="1120" y="120" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_0452lh0_di" bpmnElement="Flow_0452lh0">
        <di:waypoint x="188" y="370" />
        <di:waypoint x="280" y="370" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1" bioc:stroke="rgb(30, 136, 229)" bioc:fill="rgb(187, 222, 251)">
        <dc:Bounds x="152" y="352" width="36" height="36" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Activity_0zgu9qd_di" bpmnElement="Activity_1f3rlhl">
        <dc:Bounds x="280" y="330" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Gateway_1lo0wkf_di" bpmnElement="Gateway_0ycpiab">
        <dc:Bounds x="1005" y="345" width="50" height="50" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Activity_0d8v647_di" bpmnElement="Activity_1gh321l">
        <dc:Bounds x="1120" y="80" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Activity_0idwe1y_di" bpmnElement="Activity_0aiaca9">
        <dc:Bounds x="1120" y="190" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Activity_0gjyppl_di" bpmnElement="Activity_0q5e649">
        <dc:Bounds x="1120" y="330" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Gateway_0ofih8h_di" bpmnElement="Gateway_0t6oooo">
        <dc:Bounds x="1265" y="345" width="50" height="50" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Gateway_1483a5n_di" bpmnElement="Gateway_1483a5n" isMarkerVisible="true">
        <dc:Bounds x="1375" y="345" width="50" height="50" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Event_0vc3olr_di" bpmnElement="Event_0vc3olr" bioc:stroke="rgb(251, 140, 0)" bioc:fill="rgb(255, 224, 178)">
        <dc:Bounds x="1662" y="352" width="36" height="36" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Activity_11gkyt1_di" bpmnElement="Activity_0fnutdk">
        <dc:Bounds x="1630" y="210" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Activity_0fffktc_di" bpmnElement="Activity_1qabvj3" isExpanded="true">
        <dc:Bounds x="520" y="270" width="370" height="180" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="Flow_1cizoel_di" bpmnElement="Flow_1cizoel">
        <di:waypoint x="730" y="350" />
        <di:waypoint x="832" y="350" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_17czhxf_di" bpmnElement="Flow_17czhxf">
        <di:waypoint x="578" y="350" />
        <di:waypoint x="630" y="350" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="Event_0ojqo15_di" bpmnElement="Event_0ojqo15">
        <dc:Bounds x="542" y="332" width="36" height="36" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Activity_03f0332_di" bpmnElement="Activity_0gyatz8">
        <dc:Bounds x="630" y="310" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Event_0mu33wu_di" bpmnElement="Event_0mu33wu">
        <dc:Bounds x="832" y="332" width="36" height="36" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Gateway_1ge7gh2_di" bpmnElement="Gateway_1ge7gh2" isMarkerVisible="true">
        <dc:Bounds x="915" y="345" width="50" height="50" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Event_1vwqpnc_di" bpmnElement="Event_1vwqpnc" bioc:stroke="rgb(251, 140, 0)" bioc:fill="rgb(255, 224, 178)">
        <dc:Bounds x="922" y="532" width="36" height="36" />
      </bpmndi:BPMNShape>
    </bpmndi:BPMNPlane>
  </bpmndi:BPMNDiagram>
</bpmn2:definitions>`;

export default xmlStr;
